#include <string.h>

typedef struct{
	char name[8];
	int age;
} stu;

void setName(stu *&st,char name[]){
    int length = strlen(name); 
    for(int i=0;i<length;i++)
	st->name[i]=name[i];
    return;
}

void setAge(stu *&st,int age){
	st->age = age;
	return;
}

char* getName(stu *st){
	return st->name;
}

int getAge(stu *st){
	return st->age;
}
